﻿// 注释

using Admin.EcsWeb.Entity;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.EcsWeb.Service.PatCell.Dto;
public class PatCompare : IEqualityComparer<Entity.PatCell>
{
    public bool Equals(Entity.PatCell? x, Entity.PatCell? y)
    {
        return x.CELLID.Equals(y.CELLID);
    }

    public int GetHashCode([DisallowNull] Entity.PatCell obj)
    {
        return obj.GetHashCode();
    }
}
